package com.kmxd.ams.infra.jy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kmxd.ams.infra.jy.entity.Statistics;
import java.util.List;
import java.util.Map;

/**
 * 统计信息 Mapper 接口
 *
 * @author ZuoLG
 * @since 2023-10-16
 */
public interface StatisticsMapper extends BaseMapper<Statistics> {

  /**
   * 月度统计
   *
   * @param filingMode
   * @param startTime
   * @param endTime
   * @return
   */
  List<Map<String,String>> selectMonthReport(
      String filingMode, String refrenceType, String startTime, String endTime);

  /**
   * 年度统计
   *
   * @param filingMode
   * @param purposeArhiving
   * @param year
   * @return
   */
  List<Map<String,String>> selectYearReport(String filingMode, String purposeArhiving, int year);

  /**
   * 利用评价统计
   *
   * @param filingMode
   * @param purposeArhiving
   * @param year
   * @return
   */
  List<Statistics> getByCondition(String filingMode, String purposeArhiving, String year);
}
